package com.company.beauty.gateway.enumration;

import com.company.nuwa.common.enumration.IBizCode;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * <p>常量值</p>
 *
 * @author Albert Einstein
 * @version 1.0: GatewayBizCode.java
 * @date 2020/4/10 13:27
 */
@Getter
@AllArgsConstructor
public enum GatewayBizCode implements IBizCode {

    /**
     * 重复登录
     */
    REPEAT_LOGIN(1301, "重复登录"),
    /**
     * 输出有误
     */
    INVOKE_ALI_OSS_ERROR(1302, "输出有误"),
    /**
     * token过期
     */
    INVOKE_IS_EXPIRE(1303, "token过期"),

    /**
     * 无权限访问
     */
    UNAUTHORIZED(1304, "无权限访问"),
    /**
     * 操作系统标识缺失
     */
    PLATFORM_IS_MISSING(1305, "平台类型缺失"),

    APP_ID_IS_MISSING(1306, "商户标识缺失"),

    APP_ID_IS_ERROR(1307, "appId不合法"),

    TOKEN_IS_NULL(1308, "token缺失"),

    PWD_RESET(1309, "密码已重置");


    public final Integer code;
    public final String message;

}
